package com.gkt.ec.cms.activity.task;

import com.gkt.ec.cms.activity.model.domain.CustomerActivityEntity;

/**
 * 短信任务回调通知
 * @author Huzl
 * @version 1.0.0
 */
public interface TaskStatusCallback {
    /**
     * 任务已开始
     * @param activityId
     */
    public void beginTask(Long activityId);

    /**
     * 发送了一条短信
     * @param activityId
     * @param customerActivityEntity
     * @param success
     */
    public void sentSms(Long activityId,CustomerActivityEntity customerActivityEntity,boolean success);

    /**
     * 任务已正常结束
     * @param activityId
     */
    public void endTask(Long activityId);
}
